import { baseRequest } from '@/util/request'

const request = (url, ...arg) => baseRequest(`satoken/${url}`, ...arg)

//示例以application/json格式传参
export default {
  // 会话统计
  getPicCaptcha(data) {
    return request('login', data, 'get')
  },
  testErr(data) {
    return request('/test/api/err', data, 'get')
  }
}
